home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 October: Mac OS SDK / Dev.CD Oct 97 SDK1.toast / Development Kits (Disc 1) / QuickDraw GX / Programming Stuff / Sample Code / Printing Samples / Applications… / Exp. #9 (Inside Mac code) ƒ / Experiment no.9.make < prev    next >
Encoding:
Text File  |  1996-06-14  |  1.7 KB  |  62 lines  |  [TEXT/MPS ]

  1. #
  2. # This is the Makefile for “Experiment no.9”
  3. #
  4. #                Dave Hersey
  5. #     Apple Developer Technical Support
  6. #
  7. #
  8. #  4/26/93    - dmh - Thrown on the grill.
  9. #  9/10/93    - dmh - Updated for b2.
  10. #            - Neutralized some nasty bugs.
  11. # 12/18/93  - dmh - Updated for b3.
  12. #  3/22/94  - dmh - Updated for b4.
  13. #  7/14/94  - dmh - Updated for final.
  14. #  8/24/94  - dmh - Universalized.
  15. #  6/14/96  - cn  - Updated to support MPW Pro #19.
  16. #
  17. #------------------------------------------------------
  18. Creator        = 'Ex#9'
  19. ObjPath        = :Objects ƒ:
  20.  
  21. GXLibraries    = {MPW}GXLibraries:
  22. RezOptions    = -append -i "{RIncludes}"
  23.  
  24. COptions    = -r -mc68020 -d mpw -d applec -d debugging -i "{CIncludes}" -i "{GXLibraries}"
  25.  
  26. LinkOptions    = -t APPL -c {Creator}
  27.  
  28. MakeFile    = Experiment no.9.make
  29. TheApp        = Experiment no.9
  30. HdrFile        = Experiment no.9.h
  31. ResFile        = Experiment no.9.r
  32. SrcFile1    = Experiment no.9.c
  33. SrcFile2    = FontLibrary.c
  34. SrcFile3    = ShapeLibrary.c
  35. #------------------------------------------------------
  36.  
  37. OBJECTS = "{ObjPath}{SrcFile1}.o"        ∂
  38.           "{ObjPath}{SrcFile2}.o"        ∂
  39.           "{ObjPath}{SrcFile3}.o"
  40.  
  41. "{TheApp}" ƒƒ "{MakeFile}" "{HdrFile}" "{ResFile}"
  42.     Rez {RezOptions} "{ResFile}" -o "{TheApp}"
  43.     setfile -a Bi "{TheApp}"
  44.  
  45. "{TheApp}" ƒƒ "{MakeFile}" {OBJECTS}
  46.     Link {LinkOptions}                    ∂
  47.          {OBJECTS}                        ∂
  48.         "{CLibraries}"StdClib.o            ∂
  49.         "{Libraries}"MacRuntime.o        ∂
  50.         "{Libraries}"IntEnv.o            ∂
  51.         "{Libraries}"Interface.o        ∂
  52.      -o "{TheApp}"
  53.  
  54. "{ObjPath}{SrcFile1}.o" ƒ "{MakeFile}" "{HdrFile}" "{SrcFile1}"
  55.     SC {COptions} "{SrcFile1}" -o "{ObjPath}"
  56.  
  57. "{ObjPath}{SrcFile2}.o" ƒ "{GXLibraries}{SrcFile2}"
  58.     SC {COptions} "{GXLibraries}{SrcFile2}" -o "{ObjPath}"
  59.  
  60. "{ObjPath}{SrcFile3}.o" ƒ "{GXLibraries}{SrcFile3}"
  61.     SC {COptions} "{GXLibraries}{SrcFile3}" -o "{ObjPath}"
  62.